package deyi.entity;/*
 * Welcome to use the TableGo Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:5.0.0
 */

import java.util.Date;
import javax.persistence.*;

/**
 * DEVICEDATA
 * 
 * @author bianj
 * @version 1.0.0 2018-01-30
 */
@Entity
@Table(name = "devicedata")
public class DevicedataEntity {
    /** 版本号 */
    private static final long serialVersionUID = 8098585799237180847L;

    /** 编号 */
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 10)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /** 设备sn */
    @Column(name = "devicesn", nullable = true, length = 20)
    private String devicesn;

    /**  */
    @Column(name = "devicetype", nullable = true, length = 10)
    private Integer devicetype;

    /**  */
    @Column(name = "devicestatus", nullable = true, length = 10)
    private Integer devicestatus;

    /**  */
    @Column(name = "devicemagnet", nullable = true, length = 10)
    private Integer devicemagnet;

    /**  */
    @Column(name = "devicealarm", nullable = true, length = 10)
    private Integer devicealarm;

    /**  */
    @Column(name = "deviceforwardflow", nullable = true, length = 10)
    private Integer deviceforwardflow;

    /**  */
    @Column(name = "deviceoppositeflow", nullable = true, length = 10)
    private Integer deviceoppositeflow;

    /** 入库时间 */
    @Column(name = "createdate", nullable = true)
    private Date createdate;

    /**  */
    @Column(name = "metadata", nullable = true, length = 2147483647)
    private String metadata;

    /**  */
    @Column(name = "csq", nullable = true, length = 10)
    private Integer csq;

    /**  */
    @Column(name = "rsrp", nullable = true, length = 10)
    private Integer rsrp;

    /**  */
    @Column(name = "VIM", nullable = true)
    private Float vim;

    /**  */
    @Column(name = "vref", nullable = true)
    private Float vref;

    /**  */
    @Column(name = "pressure", nullable = true, length = 10)
    private Integer pressure;

    /**  */
    @Column(name = "demo", nullable = true, length = 255)
    private String demo;

    /**
     * 获取编号
     * 
     * @return 编号
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置编号
     * 
     * @param id
     *          编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取设备sn
     * 
     * @return 设备sn
     */
    public String getDevicesn() {
        return this.devicesn;
    }

    /**
     * 设置设备sn
     * 
     * @param devicesn
     *          设备sn
     */
    public void setDevicesn(String devicesn) {
        this.devicesn = devicesn;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDevicetype() {
        return this.devicetype;
    }

    /**
     * 设置
     * 
     * @param devicetype
     */
    public void setDevicetype(Integer devicetype) {
        this.devicetype = devicetype;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDevicestatus() {
        return this.devicestatus;
    }

    /**
     * 设置
     * 
     * @param devicestatus
     */
    public void setDevicestatus(Integer devicestatus) {
        this.devicestatus = devicestatus;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDevicemagnet() {
        return this.devicemagnet;
    }

    /**
     * 设置
     * 
     * @param devicemagnet
     */
    public void setDevicemagnet(Integer devicemagnet) {
        this.devicemagnet = devicemagnet;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDevicealarm() {
        return this.devicealarm;
    }

    /**
     * 设置
     * 
     * @param devicealarm
     */
    public void setDevicealarm(Integer devicealarm) {
        this.devicealarm = devicealarm;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDeviceforwardflow() {
        return this.deviceforwardflow;
    }

    /**
     * 设置
     * 
     * @param deviceforwardflow
     */
    public void setDeviceforwardflow(Integer deviceforwardflow) {
        this.deviceforwardflow = deviceforwardflow;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getDeviceoppositeflow() {
        return this.deviceoppositeflow;
    }

    /**
     * 设置
     * 
     * @param deviceoppositeflow
     */
    public void setDeviceoppositeflow(Integer deviceoppositeflow) {
        this.deviceoppositeflow = deviceoppositeflow;
    }

    /**
     * 获取入库时间
     * 
     * @return 入库时间
     */
    public Date getCreatedate() {
        return this.createdate;
    }

    /**
     * 设置入库时间
     * 
     * @param createdate
     *          入库时间
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public String getMetadata() {
        return this.metadata;
    }

    /**
     * 设置
     * 
     * @param metadata
     */
    public void setMetadata(String metadata) {
        this.metadata = metadata;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getCsq() {
        return this.csq;
    }

    /**
     * 设置
     * 
     * @param csq
     */
    public void setCsq(Integer csq) {
        this.csq = csq;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getRsrp() {
        return this.rsrp;
    }

    /**
     * 设置
     * 
     * @param rsrp
     */
    public void setRsrp(Integer rsrp) {
        this.rsrp = rsrp;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Float getVim() {
        return this.vim;
    }

    /**
     * 设置
     * 
     * @param vim
     */
    public void setVim(Float vim) {
        this.vim = vim;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Float getVref() {
        return this.vref;
    }

    /**
     * 设置
     * 
     * @param vref
     */
    public void setVref(Float vref) {
        this.vref = vref;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public Integer getPressure() {
        return this.pressure;
    }

    /**
     * 设置
     * 
     * @param pressure
     */
    public void setPressure(Integer pressure) {
        this.pressure = pressure;
    }

    /**
     * 获取
     * 
     * @return 
     */
    public String getDemo() {
        return this.demo;
    }

    /**
     * 设置
     * 
     * @param demo
     */
    public void setDemo(String demo) {
        this.demo = demo;
    }
}